import React from 'react'
import './index.scss'
const Content=(props)=>{
    const { list } = props
    return <div className='top1'>

        <div className='like1'>
            <div className='h1'>您可能还喜欢</div>
            <div className='title3'>
                {list.map((item, index) => <div className='mybox1' key={index}>
                    <img src={item.photoPath} alt="" />
                    <div className='name'>{item.name}</div>
                    <div className='price'>￥{item.price}</div>
                </div>)}

            </div>
        </div>

    </div>
}
export default Content
// export default class Content extends Component {

//     render() {
//         const { list } = this.props
   
//     }
// }
